package core.domain.query.paging;

import java.util.ArrayList;
import java.util.List;

public class EmptyPagingCursor implements Pageable {

	private int pageSize;

	public EmptyPagingCursor() {
		super();
	}

	public EmptyPagingCursor(PagingBean bean) { // NOPMD by JIANGHA on 10/22/09

		super();
	}

	public List<?> content() {
		return new ArrayList<Object>();
	}

	public int currentPage() {
		return 0;
	}

	public void next() {
		throw new IndexOutOfBoundsException();
	}

	public int pageCount() {
		return 0;
	}

	public void prev() {
		throw new IndexOutOfBoundsException();
	}

	public int size() {
		return pageSize;
	}

	public void to(int pageNum) throws IndexOutOfBoundsException {
		throw new IndexOutOfBoundsException();
	}

	public int totalSize() {
		return 0;
	}

	public int pageSize() {
		// TODO Auto-generated method stub
		return 0;
	}

	public int currentPos() {
		return 0;
	}
}
